package com.isesol.ime.entity;

import com.isesol.ime.*;
import com.isesol.orm.jpa.*;

import javax.persistence.*;

/**
 * 机床参数类别
 *
 * @author Peter Zhang
 */
@Entity
@Table(name = "category", catalog = Constant.DB_SCHEME_MT)
@Access(AccessType.FIELD)
public class Category extends IdEntity<Long>{

	/**
	 * 机床参数类别名称
	 */
	private String name;

	public String getName(){

		return name;
	}

	public void setName(String name){

		this.name = name;
	}

	@Override
	public String toString(){

		return "Category{" +
				"name='" + name + '\'' +
				"} " + super.toString();
	}
}
